package cn.csg.iotplatform.module.system.controller.admin.dept.vo.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

@Schema(description = "管理后台 - 获得部门信息列表树 Request VO")
@Data
@ToString
public class DeptTreeSearchVO {

    @Schema(description = "父级Id", example = "100")
    private Long parentId;
    @Schema(description = "搜索关键字", example = "广东")
    private String keyword;
    @Schema(description = "加载层级", example = "-1:全部子级1:子一级")
    private Integer subLevel;
    @Schema(description = "是否被系统引用", example = "true:被引用false:未被引用")
    private Boolean useFlag;
    @Schema(description = "类型", example = "1-单位2-部门")
    private Integer detpType;
    @Schema(description = "是否查询本人有权限的单位", example = "false")
    private Boolean purview;
    @Schema(description = "被授权人的用户id", example = "")
    private Long targetUserId;
    @Schema(description = "是否用户组织", example = "1-用户组织0-非用户组织")
    private Integer userAttr;
    @Schema(description = "是否项目设备组织", example = "1-项目设备组织0-非项目设备组织")
    private Integer projectAttr;

}

